<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<title>OpenCV: opencv2/ximgproc/disparity_filter.hpp File Reference</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon" />
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../tutorial-utils.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
   &#160;<span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_1cba416adb45407241c9cac2810a3414.html">opencv2</a></li><li class="navelem"><a class="el" href="../../dir_cd1f4f1b0a876f11d716bf39455a5f20.html">ximgproc</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">disparity_filter.hpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="../../d0/d9c/core_2include_2opencv2_2core_8hpp.html">opencv2/core.hpp</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="../../d2/d28/calib3d_8hpp.html">opencv2/calib3d.hpp</a>&gt;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d72/classcv_1_1ximgproc_1_1DisparityFilter.html">cv::ximgproc::DisparityFilter</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Main interface for all disparity map filters.  <a href="../../db/d72/classcv_1_1ximgproc_1_1DisparityFilter.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d51/classcv_1_1ximgproc_1_1DisparityWLSFilter.html">cv::ximgproc::DisparityWLSFilter</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disparity map filter based on Weighted Least Squares filter (in form of Fast Global Smoother that is a lot faster than traditional Weighted Least Squares filter implementations) and optional use of left-right-consistency-based confidence to refine the results in half-occlusions and uniform areas.  <a href="../../d9/d51/classcv_1_1ximgproc_1_1DisparityWLSFilter.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:d2/d75/namespacecv"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d75/namespacecv.html">cv</a></td></tr>
<tr class="memdesc:d2/d75/namespacecv"><td class="mdescLeft">&#160;</td><td class="mdescRight">"black box" representation of the file storage associated with a file on disk. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:d9/d29/namespacecv_1_1ximgproc"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d29/namespacecv_1_1ximgproc.html">cv::ximgproc</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga6db28b4258a9a820d5cf75b63cd51543"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d17/group__ximgproc__filters.html#ga6db28b4258a9a820d5cf75b63cd51543">cv::ximgproc::computeBadPixelPercent</a> (InputArray GT, InputArray src, Rect ROI, int thresh=24)</td></tr>
<tr class="memdesc:ga6db28b4258a9a820d5cf75b63cd51543"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function for computing the percent of "bad" pixels in the disparity map (pixels where error is higher than a specified threshold)  <a href="../../da/d17/group__ximgproc__filters.html#ga6db28b4258a9a820d5cf75b63cd51543">More...</a><br /></td></tr>
<tr class="separator:ga6db28b4258a9a820d5cf75b63cd51543"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaad2210013ec0118e542cb38a01cae416"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d17/group__ximgproc__filters.html#gaad2210013ec0118e542cb38a01cae416">cv::ximgproc::computeMSE</a> (InputArray GT, InputArray src, Rect ROI)</td></tr>
<tr class="memdesc:gaad2210013ec0118e542cb38a01cae416"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function for computing mean square error for disparity maps.  <a href="../../da/d17/group__ximgproc__filters.html#gaad2210013ec0118e542cb38a01cae416">More...</a><br /></td></tr>
<tr class="separator:gaad2210013ec0118e542cb38a01cae416"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8a351f67b897bb7cdaccaef115bafcac"><td class="memItemLeft" align="right" valign="top">Ptr&lt; DisparityWLSFilter &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d17/group__ximgproc__filters.html#ga8a351f67b897bb7cdaccaef115bafcac">cv::ximgproc::createDisparityWLSFilter</a> (Ptr&lt; StereoMatcher &gt; matcher_left)</td></tr>
<tr class="memdesc:ga8a351f67b897bb7cdaccaef115bafcac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convenience factory method that creates an instance of <a class="el" href="../../d9/d51/classcv_1_1ximgproc_1_1DisparityWLSFilter.html" title="Disparity map filter based on Weighted Least Squares filter (in form of Fast Global Smoother that is ...">DisparityWLSFilter</a> and sets up all the relevant filter parameters automatically based on the matcher instance. Currently supports only <a class="el" href="../../d9/dba/classcv_1_1StereoBM.html" title="Class for computing stereo correspondence using the block matching algorithm, introduced and contribu...">StereoBM</a> and <a class="el" href="../../d2/d85/classcv_1_1StereoSGBM.html" title="The class implements the modified H. Hirschmuller algorithm  that differs from the original one as fo...">StereoSGBM</a>.  <a href="../../da/d17/group__ximgproc__filters.html#ga8a351f67b897bb7cdaccaef115bafcac">More...</a><br /></td></tr>
<tr class="separator:ga8a351f67b897bb7cdaccaef115bafcac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad79c31494e3bb92d4b30e0dcefae1249"><td class="memItemLeft" align="right" valign="top">Ptr&lt; DisparityWLSFilter &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d17/group__ximgproc__filters.html#gad79c31494e3bb92d4b30e0dcefae1249">cv::ximgproc::createDisparityWLSFilterGeneric</a> (bool use_confidence)</td></tr>
<tr class="memdesc:gad79c31494e3bb92d4b30e0dcefae1249"><td class="mdescLeft">&#160;</td><td class="mdescRight">More generic factory method, create instance of <a class="el" href="../../d9/d51/classcv_1_1ximgproc_1_1DisparityWLSFilter.html" title="Disparity map filter based on Weighted Least Squares filter (in form of Fast Global Smoother that is ...">DisparityWLSFilter</a> and execute basic initialization routines. When using this method you will need to set-up the ROI, matchers and other parameters by yourself.  <a href="../../da/d17/group__ximgproc__filters.html#gad79c31494e3bb92d4b30e0dcefae1249">More...</a><br /></td></tr>
<tr class="separator:gad79c31494e3bb92d4b30e0dcefae1249"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae85b598094c2d747f84f22b2aa2c2e0c"><td class="memItemLeft" align="right" valign="top">Ptr&lt; StereoMatcher &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d17/group__ximgproc__filters.html#gae85b598094c2d747f84f22b2aa2c2e0c">cv::ximgproc::createRightMatcher</a> (Ptr&lt; StereoMatcher &gt; matcher_left)</td></tr>
<tr class="memdesc:gae85b598094c2d747f84f22b2aa2c2e0c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convenience method to set up the matcher for computing the right-view disparity map that is required in case of filtering with confidence.  <a href="../../da/d17/group__ximgproc__filters.html#gae85b598094c2d747f84f22b2aa2c2e0c">More...</a><br /></td></tr>
<tr class="separator:gae85b598094c2d747f84f22b2aa2c2e0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae192a87924cbc134b75e01b79bb44718"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d17/group__ximgproc__filters.html#gae192a87924cbc134b75e01b79bb44718">cv::ximgproc::getDisparityVis</a> (InputArray src, OutputArray dst, double scale=1.0)</td></tr>
<tr class="memdesc:gae192a87924cbc134b75e01b79bb44718"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function for creating a disparity map visualization (clamped CV_8U image)  <a href="../../da/d17/group__ximgproc__filters.html#gae192a87924cbc134b75e01b79bb44718">More...</a><br /></td></tr>
<tr class="separator:gae192a87924cbc134b75e01b79bb44718"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaabcd737c61fe63766554347f2a1859b9"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d17/group__ximgproc__filters.html#gaabcd737c61fe63766554347f2a1859b9">cv::ximgproc::readGT</a> (String src_path, OutputArray dst)</td></tr>
<tr class="memdesc:gaabcd737c61fe63766554347f2a1859b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function for reading ground truth disparity maps. Supports basic Middlebury and MPI-Sintel formats. Note that the resulting disparity map is scaled by 16.  <a href="../../da/d17/group__ximgproc__filters.html#gaabcd737c61fe63766554347f2a1859b9">More...</a><br /></td></tr>
<tr class="separator:gaabcd737c61fe63766554347f2a1859b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:33 for OpenCV by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
